import React from 'react'
import loading from '../assets/loading.gif'
import style from './Loading.module.scss'
interface Iprops{
  hasMsk?:boolean
}
const Loading: React.FC<Iprops> = (props) => {
  return <div className={style.loading}>
    {props.hasMsk ? <div></div> : null}
    <img src={loading} alt=""/>
    </div>
} 
export default Loading